<ul>
{loop $tags $i $t}
<li>{if $datetype}<span class="f_r px11 f_gray">{timetodate($t[addtime], $datetype)}</span>{/if}<a href="{$t[linkurl]}"{if $target} target="{$target}"{/if}{if $class} class="{$class}"{/if} title="{$t[alt]}">{$t[title]}</a></li>
{/loop}
</ul>
{if $showpage && $pages}<div class="pages">{$pages}</div>{/if}